package com.lbmb.mdps.workbench.dao;

import com.lbmb.mdps.commons.domain.MedicineReceive;
import com.lbmb.mdps.workbench.domain.Medicine;

import java.util.List;

/**
 * @author WJP
 * @date 2022-05-30 1:21
 * description
 */
public interface MedicineDao {
    List<Medicine> medicinePageList(MedicineReceive medicineReceive);

    Integer getMedicineTotal(MedicineReceive medicineReceive);

    int addMedicine(Medicine medicine);

    int editMedicine(Medicine medicine);

    int deleteMedicine(String[] deleteMedicineIds);

    Medicine getMedicineById(Long medicineId);

    int getMedicineNumberByMedicineType(Long id);

    int getMedicineNumberByMedicalInsurance(String medicalInsurance);

    int getMedicineNumberByDonate(String donate);
}
